<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('请输入生成数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required"  class="form-control " name="row[num]" type="number" value="" max="500" min="1">
            <span>建议每次生成最大数量为500个</span>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
